# -*- coding: utf-8 -*-
'''
Created on 2011-10-16

@author: zxz
'''
from datetime import datetime

## 时间的格式化
DATE_FORMAT = "%Y%m%d %H:%M:%S"

def getStdTimeStr(datetime):
    ''' 获得时间str : 20110823 16:02:35 '''
    if datetime is None:
        return ''
    return datetime.strftime(DATE_FORMAT)

